<!--#include file="../config/app.asp" -->
<!--#include file="../middler/auth.asp" -->
<%

dim x, values

for each x in reqData("Data")
  values = gUser("id") & ",'" & app.json.encode(x) & "',now()"
  app.db.exec "INSERT INTO [errors] ([uid],[error],[create_time]) VALUES (" & values & ")" 
next

app.db.Disconnect()
echo "add error ok"
%>
